/*
 * Class created by lensfrex.
 */

package net.lensfrex.dscape.web.controllers.compute;

import net.lensfrex.dscape.domain.response.Response;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/compute")
public class Compute {
    @GetMapping(value = "/status/{tid}", produces = "application/json")
    public Response status(@PathVariable String tid,
                           @RequestHeader String token) {
        return Response.error(0, "Not implement");
    }

    @PostMapping(value = "/add", produces = "application/json")
    public Response addComputeTask(@RequestBody String body,
                                   @RequestHeader String token) {
        return Response.error(0, "Not implement");
    }
}
